//
//  PlistManager.h
//  OneCard
//
//  Created by sally on 16/2/24.
//  Copyright © 2016年 koalac. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface PlistManager : NSObject

+ (PlistManager *)shareInstance;
- (NSString *)plistPathWithIdentify:(NSString *)identify;
- (BOOL)isPlistExists:(NSString *)identify;
- (NSMutableDictionary *)getSavedInPlist:(NSString *)identify;
- (NSMutableArray *)getArraySavedInPlist:(NSString *)identify;
- (BOOL)saveToPlist:(NSString *)identify andDictionary:(NSMutableDictionary *)dict;
- (BOOL)saveToPlist:(NSString *)identify andArray:(NSMutableArray *)arr;
- (void)removePlistFileWithIdentify:(NSString *)identify;

@end
